#ifndef AVALON_ENCODEREXCEPTION_HPP
#define AVALON_ENCODEREXCEPTION_HPP
#include <stdexcept>
#include "Avalon/Codecs/Codecs.hpp"

namespace Avalon {
namespace Codecs {

  /*! \class EncoderException
   *  \brief Signals that an error occurred while encoding.
   *  \author Kamal Mansouri <kranar@hotmail.com>
   */
  class EncoderException : public std::runtime_error, public boost::exception {
    public:

      //! Constructs an EncoderException.
      /*!
        \param message A message describing the error.
      */
      EncoderException(const std::string& message);

      virtual ~EncoderException() throw();
  };
}
}

#endif // AVALON_ENCODEREXCEPTION_HPP
